package com.jiukuaidao.zhulin.module.order;

import java.util.ArrayList;
import java.util.List;

/**
 * Author : PaiTaSuo
 * Date : 2016/6/18
 * Description :
 */
public class PostOrderInfo {
    public boolean invoice;//是否需要发票
    public String invoiceTitle;//发票抬头
    public String channel;//订单渠道
    public String payWay;//支付方式
    public String shopId;//商家id
    public String consignee;//收货人姓名
    public String consigneePhone;///收货人联系电话
    public String consigneeAddress;//收货地址
    public String consigneeGeo;//收货地址经纬度，逗号隔开
    public String remark;//订单备注
    public Cart cart = new Cart();
    public List<String> confirmedTokens = new ArrayList<>();// 可以忽略的校验条件

    public static class Cart {
        public List<PackList> packList = new ArrayList<>();
    }

    static public class PackList {
        public List<CartItem> cartItems = new ArrayList<>();
        public String checked;
        public int count;
        public String name;
        public String src;
    }

    static public class CartItem {
        public String checked;
        public int count;//商品个数
        public String gn; //商品gn号
        public String src;
    }

}
